
import postcssImport from "postcss-import"
import autoprefixer from "autoprefixer"
import tailwindcss from "tailwindcss"
import path from 'path'
module.exports = {
  publicDir: 'public',
  // root: path.resolve(__dirname, 'public'),
  base: './',
  outputDir: 'dist',
  resolve: {
    alias: {
    '/@': path.resolve(__dirname, './src'),
    },
  },
  server: {
    port: 8080,
    open: true
  },
  plugins: [
    postcssImport,
    autoprefixer,
    tailwindcss,
  ],
}